import request from '@/utils/request'

export function saveOrUpdateOrg(data) {
  return request({
    url: '/orgPayController/saveOrUpdateOrg',
    method: 'post',
    data
  })
}

export function pageOrgPay(current,pageSize,data) {
  return request({
    url: '/orgPayController/getOrgPay',
    method: 'get',
    params:{
      current,
      pageSize,
      ...data
    }
  })
}

export function delOrgPay(id) {
  return request({
    url: `/orgPayController/delOrgPay/${id}`,
    method: 'delete'
  })
}
